home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-03 | 1.6 KB | 48 lines |
- /**/# GENERIC X-WINDOW-BASED TETRIS
- /**/#
- /**/# Imakefile
- /**/#
- /**/###
- /**/#
- /**/# Copyright (C) 1992, 1993 Qiang Alex Zhao, azhao@cs.arizona.edu
- /**/# Computer Science Dept, University of Arizona
- /**/#
- /**/# All Rights Reserved
- /**/#
- /**/# Permission to use, copy, modify, and distribute this software and
- /**/# its documentation for any purpose and without fee is hereby granted,
- /**/# provided that the above copyright notice appear in all copies and
- /**/# that both that copyright notice and this permission notice appear in
- /**/# supporting documentation, and that the name of the author not be
- /**/# used in advertising or publicity pertaining to distribution of the
- /**/# software without specific, written prior permission.
- /**/#
- /**/# This program is distributed in the hope that it will be "playable",
- /**/# but WITHOUT ANY WARRANTY; without even the implied warranty of
- /**/# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- /**/#
-
- SCOREFILE = /usr/games/lib/gtetris/scores
-
- /**/# Set "RANDOM" to:
- /**/# -DHAS_48 if has lrand48() and srand48()
- /**/# -DHAS_RANDOM if has random() and srandom()
- /**/# otherwise, set to empty
- RANDOM = -DHAS_48
-
- /**/##############################################################
-
- DEFINES = -I. -DSCOREFILE=\"$(SCOREFILE)\" $(RANDOM)
- LOCAL_LIBRARIES = $(XLIB)
- SYS_LIBRARIES = -lm
- SRCS = tetris.c playing.c utils.c
- OBJS = tetris.o playing.o utils.o
- PROGRAMS = tetris tscores
-
- ComplexProgramTarget(tetris)
-
- tetris.o: tetris.c tetris.h
- playing.o: playing.c tetris.h
- utils.o: utils.c tetris.h
-
-